package com.system.common.vo.role;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

import java.io.Serializable;

public class AllRoleVo implements Serializable {
    private static final long serialVersionUID = 7710102399601339362L;

    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    private String name;

    private Boolean use = Boolean.FALSE;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isUse() {
        return use;
    }

    public void setUse(boolean use) {
        this.use = use;
    }
}
